package com.azhuo.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.azhuo.core.dao.BaseDictDao;
import com.azhuo.core.pojo.BaseDict;
import com.azhuo.core.service.BaseDictService;

/**
 * 数据字典 Service impl
 * @author azhuo
 *
 */
@Service
@Transactional
public class BaseDictServiceImpl implements BaseDictService {

	@Autowired
	private BaseDictDao baseDictDao;
	
	/**
	 * 根据列表代码查询数据字典
	 */
	@Override
	public List<BaseDict> findBaseDictByDictTypeCode(String dict_type_code) {
		
		return baseDictDao.selectBaseDictByDictTypeCode(dict_type_code);
	}

}
